package org.criller.spring;

import org.criller.spring.config.DemoConfig;
import org.criller.spring.repository.Hello;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class TestHelloBean {
	public static void main(String[] args) {
		AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(DemoConfig.class);
		Hello bean = context.getBean(Hello.class);
		bean.hello();
	}
}
